package models

import (
	"github.com/goravel/framework/database/orm"
)

type Manhour struct {
	orm.Model
	ServiceID uint    `gorm:"column:service_id" form:"service_id" json:"service_id"`
	KindID    uint    `gorm:"column:kind_id" form:"kind_id" json:"kind_id"`
	Score     float64 `gorm:"column:score" form:"score" json:"score"`
	Kind      Kind    `gorm:"foreignKey:KindID;references:ID" form:"kind" json:"kind"`
	Service   Service `gorm:"foreignKey:ServiceID;references:ID" form:"service" json:"service"`
	orm.SoftDeletes
}
